import FormJsControlSetting from './FormJsControlSetting.vue';
import FormJsControlPreview from './FormJsControlPreview.vue';
import FormJsControlView from './FormJsControlView.vue'
import FormJsControl from './FormJsControl.vue';
import i18n from '@src/locales';

let FormJsControlField = {
  formType: 'jsCodeBlock', // 字段类型
  name: i18n.t('common.form.type.jsCodeBlock'),
  isSystem: 0,
  component: {
    setting: FormJsControlSetting,
    preview: FormJsControlPreview,
    build: FormJsControl,
    view: FormJsControlView,
    extend: {}
  }
};

export default FormJsControlField;
